6 Lecture
CS401
Midterm & Final Term Short Notes
ASCII Codes
ASCII codes are a standardized set of numeric codes that represent characters used in the English language. Each code represents a specific character, including letters, numbers, punctuation marks, and other symbols. ASCII codes were developed i
Important Mcq's
Midterm & Finalterm Prepration
Past papers included
Download PDF
What does ASCII stand for? A. American Standard Code for Information Interchange B. Advanced Standard Code for Internet Interchange C. Association of Standardized Computer Information D. Automated System Code for Integrated Interchange Answer: A How many bits are used in ASCII code to represent a single character? A. 4 bits B. 8 bits C. 12 bits D. 16 bits Answer: B Which of the following is NOT included in ASCII code? A. Letters (uppercase and lowercase) B. Numbers (0-9) C. Punctuation marks D. Emojis Answer: D What is the decimal value for the uppercase letter 'A' in ASCII code? A. 65 B. 97 C. 72 D. 90 Answer: A Which of the following is an example of a non-printable character in ASCII code? A. Space B. Tab C. Exclamation mark D. Letter 'A' Answer: B Which of the following is the hexadecimal representation for the binary code 00101011 in ASCII code? A. 2B B. 3F C. 5E D. 7D Answer: A What is the decimal value for the symbol '@' in ASCII code? A. 42 B. 64 C. 75 D. 98 Answer: B Which of the following is the ASCII code for the lowercase letter 'e'? A. 65 B. 97 C. 101 D. 103 Answer: C What is the ASCII code for the digit '8'? A. 48 B. 56 C. 64 D. 72 Answer: B What is the ASCII code for the percent symbol (%)? A. 35 B. 44 C. 63 D. 37 Answer: D
Subjective Short Notes
Midterm & Finalterm Prepration
Past papers included
Download PDF
What is ASCII code and what is its purpose? Answer: ASCII (American Standard Code for Information Interchange) is a standardized code used to represent characters in the English language, using 7-bit binary numbers. It is used to represent text-based data in computing and telecommunications, allowing computers to communicate and interpret text data. How many characters can be represented using ASCII code? Answer: ASCII code can represent up to 128 characters, including uppercase and lowercase letters, numbers, punctuation marks, and other symbols. What is the difference between printable and non-printable ASCII characters? Answer: Printable ASCII characters are those that can be displayed on a screen or printed on paper, such as letters, numbers, and punctuation marks. Non-printable ASCII characters, on the other hand, are codes that cannot be displayed, such as the backspace, tab, and carriage return characters. What is the decimal value for the uppercase letter 'D' in ASCII code? Answer: The decimal value for the uppercase letter 'D' in ASCII code is 68. What is the ASCII code for the exclamation mark symbol (!)? Answer: The ASCII code for the exclamation mark symbol is 33. What is the binary representation of the ASCII code for the letter 'B'? Answer: The binary representation of the ASCII code for the letter 'B' is 01000010. What is the ASCII code for the dollar symbol ($)? Answer: The ASCII code for the dollar symbol is 36. How is ASCII code related to Unicode? Answer: Unicode is an extension of ASCII code that can represent a much larger range of characters from different languages and scripts. ASCII code is the basis of the first 128 characters in Unicode. What is the hexadecimal representation of the ASCII code for the lowercase letter 's'? Answer: The hexadecimal representation of the ASCII code for the lowercase letter 's' is 73. How has the use of ASCII code evolved over time? Answer: While ASCII code is still widely used today, it has been largely replaced by Unicode in modern computing systems. However, it remains an important part of computing history and continues to be used in some legacy systems and applications.